//
//  ConnectionListener.h
//  Networking
//
//  This class handled incoming connections on the server side
//
//  Created by Christoph Eßer on 11/24/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ServerThreadController.h"


@interface ConnectionListener : NSObject {
@private
    ServerThreadController* stc;
    CFSocketRef socketCF;
}

@property (readonly) ServerThreadController* stc;

-(id) initWithSTC: (ServerThreadController*) controller andPort: (NSInteger) port;
-(void) dealloc;
@end
